import axios from "axios"

const getList=()=>{
        return axios.get("/api/goods")
}

//获取商家列表的接口
const getStoreList = ()=>{
        return axios.get('/api/list')
}
//获取地址列表
const getAdress = (keyword)=>{
        return axios.get(`/adr?city_id=1&keyword=${keyword}&type=search`)
}
export {
     getList,
     getStoreList,
     getAdress
    }